8031013c32eeee6c4f5abe5b37e60d01599104f7,src/main/java/org/basex/query/func/FNFile.java,FNFile,makeDir,#File#boolean#,332
Before Change
// the dirs are to be created, is write-protected
final File existingParent = getExistingParent(file);
if(!existingParent.canWrite()) {
Err.or(input, QueryText.MKDIR, file.getPath(), existingParent.getPath());
return Bln.FALSE;
}
return Bln.get(file.mkdirs());
After Change
// the dirs are to be created, is write-protected
final File parent = getExistingParent(file);
if(!parent.canWrite())
Err.or(input, QueryText.MKDIR, file.getPath(), parent.getPath());
if(!file.mkdirs())
Err.or(input, QueryText.CANNOTMKDIR, file.getPath());
}
if(!file.mkdir())